package com.ziyun.erp.modules.message.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.models.auth.In;

import java.io.Serializable;
import java.util.Date;

/**
 * 提示消息人员关系表
 * 
 * @author zh
 * @email 296588519@qq.com
 * @date 2018-08-13 14:22:52
 */
@TableName("erp_message_user")
public class MessageUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 消息人员关联表ID
	 */
	@TableId
	private Integer id;
	/**
	 * 消息id
	 */
	private Integer messageId;
	/**
	 * 接收者Id
	 */
	private Integer userId;
	/**
	 * 是否删除(1删除,0不删除)
	 */
	private Integer delFlag;
	/**
	 * 是否已读1已读,0未读)
	 */
	private Integer readFlag;

	/**
	 * 设置：消息人员关联表ID
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：消息人员关联表ID
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：消息id
	 */
	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}
	/**
	 * 获取：消息id
	 */
	public Integer getMessageId() {
		return messageId;
	}
	/**
	 * 设置：接收者Id
	 */
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	/**
	 * 获取：接收者Id
	 */
	public Integer getUserId() {
		return userId;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getReadFlag() {
		return readFlag;
	}

	public void setReadFlag(Integer readFlag) {
		this.readFlag = readFlag;
	}
}
